package com.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan({"com.config.dao","com.config.service"})
//@ComponentScan:组件扫描器注解，配置该注解后，Spirng会自动在指定的包中扫描相关类，
// 将需要由Spring管理类，扫描出来并交给Spring管理
public class MyConfig {


}
